{if {count($storedetailData)} > 0}
{$smarty.const.STORE_TOTAL_NUMBER_NEGATIVE_PRODUCTS}{$minusQuantity}
{$smarty.const.STORE_TOTAL_NUMBER_POSITIVE_PRODUCTS}{$plusQuantity}
{$smarty.const.STORE_TOTAL_NET_NUMBER_PRODUCTS}{$productquantity}
{if $showstoredetailprice != 1}
{$smarty.const.STORE_TOTAL_NEGATIVE_PRODUCTS_PRICE}{$minusPrice} {$currency}
{$smarty.const.STORE_TOTAL_PRICE_POSITIVE_PRODUCTS}{$plusPrice} {$currency}
{$smarty.const.STORE_TOTAL_NET_PRICE_PRODUCTS}{$sumValue} {$currency}
{/if}
{/if}
| {$smarty.const.STORE_NUMBER} |
{$smarty.const.STORE_STORE_NAME} |
{$smarty.const.STORE_PRODUCT_NAME} |
{$smarty.const.STORE_BARCODE} |
{$smarty.const.STORE_QUANTITY} |
{if $showstoredetailprice != 1}{$smarty.const.STORE_UNIT_PRICE} | {/if}
{if $showstoredetailprice != 1}{$smarty.const.STORE_TOTAL} | {/if}
{$smarty.const.STORE_DATE_LAST_OPERATION} |
{foreach $storedetailData as $storedetail}
{if $storedetail.productquantity neq '0'}
| {$storedetail.itra} |
{$storedetail.storeName} |
{$storedetail.productName} |
{$storedetail.parcode} |
{$storedetail.productquantity} |
{if $showstoredetailprice != 1}{$storedetail.productBuyPrice} | {/if}
{if $showstoredetailprice != 1}{$storedetail.productquantity * $storedetail.productBuyPrice} | {/if}
{$storedetail.storedetaildate} |
{/if}
{/foreach}
{$smarty.const.STORE_TOTAL_NUMBER_PRODUCTS}{$productquantity}
{if $showstoredetailprice !=1}
{$smarty.const.STORE_TOTAL_PRICE_PRODUCTS}{$sumValue} {$currency}
{/if}
{if {count($storedetailData)} > 0}
{/if}